package com.icode.jersey.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created with IntelliJ IDEA.
 * User: alexz
 * Date: 14-7-11
 * Time: 上午10:14
 * To change this template use File | Settings | File Templates.
 */
@XmlRootElement
public class UserDTO {
    @XmlElement
    private String username;
    @XmlElement
    private String password;

    public UserDTO() {
    }

    public UserDTO(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }
}
